const mongoose = require('mongoose')

const user = new mongoose.Schema({
    username: {
        type: String,
        required: true,
        unique: true
    },
    password: {
        type: String,
        required: true
    },
    headprotrait: {
        type: String
    },
    data: {
        type: Date,
        default: Date.now()
    }
})
module.exports = mongoose.model("modelUser", user)